# def test1():
#     a = 3 and 4
#     b = 0 and 4
#     c = 3 or 4
#     d = 0 or 4
#     e = not 3
#     f = not 0
#     print(a, b, c, d, e, f, sep='\t')
#
# def join(iterable,sep=None):
#     return (sep or ',').join(iterable)
# def test2():
#     '''
#     用户输入若干个年龄，求它们的平均值，每输入1个年龄后询问是否继续输入下一个年龄，
#     回答yes则继续输入下一个年龄，回答no就停止输入年龄
#     '''
#     scores = list()
#     while True:
#         age_str = input("请输入用户的年龄：")
#         try:
#             age = int(age_str)
#             scores.append(age)
#         except:
#             print('输入年龄格式错误，请输入整数！')
#         while True:
#             yon = input("是否继续输入年龄，yes or no？")
#             if yon.strip().lower() not in ('yes','no'):
#                 continue
#             else:
#                 break
#         if yon.strip().lower() == 'no':
#             break
#     print(sum(scores)/len(scores))
import math

from chapter_03_Python面向对象程序设计 import test1
# def test3():
#     numbers = (1, 2, 3, 4)
#     for i in numbers:
#         i*=100
#         for j in numbers:
#             if j == i:
#                 continue
#             j*=10
#             for k in numbers:
#                 if k == j or k == i:
#                     continue
#                 print(i+j+k)
#
# if __name__ == '__main__':
#     test3()
# from chapter_03_Python面向对象程序设计.test1 import myArray
# my = myArray(11,22,33,44,55)
# print(my.show())
# print(myArray.__name__)